Masteriyo\Models\Course D

Total Complexity 195
Dependencies 12
Dependents 22
Total lines 2,334
Lines of code 690
Logical lines of code 302
Comment lines 1,359
Methods 138
Properties 5

Methods 138

Method Rating Maintainability Complexity Lines of code
get_first_lesson_or_quiz()
A
41 8 64
add_to_cart_url()
A
53 9 21
is_visible_core()
A
59 9 12
is_on_sale()
S
58 8 14
get_image()
S
58 6 15
start_course_url()
S
55 4 18
set_status()
S
62 5 10
continue_course_url()
S
51 2 28
add_to_cart_text()
S
62 3 11
get_rating_count()
S
65 3 9
is_purchasable()
S
67 3 7
get_progress_status()
S
64 3 9
get_difficulty()
S
59 1 15
get_categories()
S
60 1 15
get_tags()
S
60 1 15
single_add_to_cart_text()
S
67 2 7
is_review_allowed()
S
68 2 7
status_transition()
S
66 2 8
add_to_cart_description()
S
67 2 7
get_edit_post_link()
S
66 2 8
get_featured_image_url()
S
70 2 6
get_preview_link()
S
62 1 12
get_retake_url()
S
63 1 11
single_course_completed_text()
S
78 1 3
set_difficulty_id()
S
79 1 3
set_access_mode()
S
80 1 3
set_duration()
S
79 1 3
set_enrollment_limit()
S
79 1 3
set_review_count()
S
79 1 3
set_average_rating()
S
79 1 3
set_rating_counts()
S
78 1 3
set_featured()
S
79 1 3
set_featured_image()
S
79 1 3
set_date_on_sale_to()
S
80 1 3
set_tag_ids()
S
78 1 3
set_category_ids()
S
78 1 3
set_show_curriculum()
S
79 1 3
set_date_on_sale_from()
S
80 1 3
set_price_type()
S
80 1 3
set_sale_price()
S
79 1 3
set_regular_price()
S
79 1 3
set_price()
S
79 1 3
set_menu_order()
S
79 1 3
set_parent_id()
S
79 1 3
set_author_id()
S
79 1 3
set_reviews_allowed()
S
80 1 3
set_billing_cycle()
S
79 1 3
set_image_id()
S
80 1 3
set_review_after_course_completion()
S
79 1 3
set_exchange_rate()
S
80 1 3
single_course_continue_text()
S
78 1 3
retake_course_text()
S
78 1 3
single_course_start_text()
S
78 1 3
get_difficulties()
S
66 1 8
is_visible()
S
75 1 4
exists()
S
80 1 3
get_progress_data()
S
75 1 4
get_available_seats()
S
72 1 5
set_pricing_method()
S
80 1 3
set_currency()
S
80 1 3
set_purchase_note()
S
80 1 3
set_course_badge()
S
80 1 3
set_fake_enrolled_count()
S
79 1 3
set_post_password()
S
80 1 3
set_disable_course_content()
S
79 1 3
set_enable_course_retake()
S
79 1 3
set_end_date()
S
80 1 3
set_is_creating()
S
79 1 3
set_is_ai_created()
S
79 1 3
single_course_continue_quiz_text()
S
78 1 3
set_highlights()
S
80 1 3
set_welcome_message_to_first_time_user()
S
80 1 3
__construct()
S
81 1 3
set_short_description()
S
80 1 3
get_description()
S
79 1 3
get_price_type()
S
79 1 3
get_sale_price()
S
79 1 3
get_regular_price()
S
79 1 3
get_price()
S
79 1 3
get_menu_order()
S
79 1 3
get_parent_id()
S
79 1 3
get_author_id()
S
79 1 3
get_date_on_sale_to()
S
79 1 3
get_date_on_sale_from()
S
79 1 3
get_reviews_allowed()
S
79 1 3
get_post_password()
S
79 1 3
get_excerpt()
S
67 1 7
get_short_description()
S
79 1 3
get_catalog_visibility()
S
79 1 3
get_tag_ids()
S
79 1 3
get_status()
S
79 1 3
get_date_modified()
S
79 1 3
get_date_created()
S
79 1 3
get_slug()
S
79 1 3
get_name()
S
79 1 3
get_rest_formatted_price()
S
73 1 4
get_post_type()
S
82 1 3
get_object_type()
S
82 1 3
get_human_readable_lecture_hours()
S
80 1 3
get_children()
S
82 1 3
get_preview_course_link()
S
80 1 3
get_permalink()
S
80 1 3
get_title()
S
79 1 3
get_stock_managed_by_id()
S
81 1 3
get_category_ids()
S
79 1 3
get_difficulty_id()
S
79 1 3
set_description()
S
80 1 3
get_is_creating()
S
79 1 3
set_date_modified()
S
80 1 3
save()
S
74 1 5
set_slug()
S
80 1 3
set_name()
S
80 1 3
get_pricing_method()
S
79 1 3
get_exchange_rate()
S
79 1 3
get_currency()
S
79 1 3
get_course_badge()
S
79 1 3
get_fake_enrolled_count()
S
79 1 3
get_welcome_message_to_first_time_user()
S
79 1 3
get_disable_course_content()
S
79 1 3
get_enable_course_retake()
S
79 1 3
get_end_date()
S
79 1 3
get_is_ai_created()
S
79 1 3
get_featured_image()
S
79 1 3
get_image_id()
S
80 1 3
get_highlights()
S
79 1 3
get_purchase_note()
S
79 1 3
get_review_after_course_completion()
S
79 1 3
get_show_curriculum()
S
79 1 3
get_billing_cycle()
S
79 1 3
get_access_mode()
S
79 1 3
get_duration()
S
79 1 3
get_enrollment_limit()
S
79 1 3
get_review_count()
S
79 1 3
get_average_rating()
S
79 1 3
get_rating_counts()
S
79 1 3
is_featured()
S
80 1 3
get_featured()
S
79 1 3
set_date_created()
S
80 1 3